package com.alifi.crm.dal.guess;

import com.alifi.crm.dal.object.RedEnvelopeCountDO;

/**
 * 
 * @author wenjing.huangwj
 *
 */
public interface RedEnvelopeCountDAO {

	public RedEnvelopeCountDO selectByRedEnvelopDate(String redEnvelopDate);
	
	public void update(RedEnvelopeCountDO redEnvelopeCountDO);
	
	public Long getLockByRedEnvelopDate(String redEnvelopDate);
	
	public Long releaseLockByRedEnvelopDate(String redEnvelopDate);
	
	public RedEnvelopeCountDO selectByIdForUpdate(Long id);
	
}
